<?php
global $_RQ,$_AR;
//获取商户ID
$_SESSION['logout_forward']='jy_xiangqin/worker.login/';
$_SESSION['forward_url']='jy_xiangqin/worker.index/'; 
if($_RQ['action']!='worker.login' && $_RQ['action']!='worker.apply'){
	$worker=$this->model('worker')->checklogin();
}
$return['plugin_icon']=$worker['logo'];
?>